.user-header {
  width: 100%;
  height: 334px;
  background: linear-gradient(0deg, #ff5252, #f73f6c);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: PingFang SC;

  .page-title {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    line-height: 40px;
    width: 100%;
    text-align: center;
  }

  .info-wrap {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 51px 40px 0;
    .avator {
      width: 116px;
      height: 116px;
      background: #333333;
      border-radius: 50%;
    }

    .user-info {
      margin-left: 26px;
      width: 315px;
      display: flex;
      flex-direction: column;

      .user-name {
        font-size: 36px;
        font-weight: 500;
        color: #ffffff;
        width: 315px;
        display: inline-block;
        white-space: nowrap;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .user-intro {
      display: flex;
      align-items: center;
      margin-top: 16px;
      padding-left: 10rpx;
      .user-type {
        // width: 110px;
        height: 34px;
        background: rgba($color: #fff, $alpha: 0.2);
        border-radius: 17px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        font-size: 20px;
        font-weight: 400;
        color: #fefefe;
        line-height: 34px;
        word-break: keep-all;
        margin-left: 10rpx;
      }
      .user-btn {
        border-radius: 40px;
        color: #fff;
        white-space: nowrap;
        border: 1px solid #fff;
        padding: 4rpx 14px;
        margin-left: 38px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        &::after {
          border: none;
        }
      }
    }

    .vip-qrcode {
      display: flex;
      margin-left: 103px;

      Image {
        width: 78px;
        height: 78px;
      }

      Text {
        width: 20px;
        height: 67px;
        margin-left: 7px;
        font-size: 20px;
        font-weight: 300;
        color: #ffffff;
      }
    }
  }

  .account-info {
    width: 690px;
    height: 118px;
    background: #ffffff;
    border-radius: 14px 14px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .arrears,
    .balance {
      display: flex;
      align-items: center;
      position: relative;
      flex-direction: column;
      flex: 1;

      .price {
        font-size: 36px;
        font-weight: 500;
        color: #000000;
      }

      .desc {
        font-size: 20px;
        font-weight: 300;
        color: #999999;
      }
    }

    .balance {
      &::before {
        content: '';
        width: 1px;
        height: 34px;
        background: #999999;
        position: absolute;
        top: 26px;
        left: 0;
      }
    }
  }

  .vip-card {
    width: 100%;
  }
}

.scroll-card-wrap {
  margin-top: 20px;

  .card-wrap {
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;

    .card-item {
      width: 690px;
      background: url(../../../../assets/images/user/card-background.png) center no-repeat;
      background-size: cover;
      margin: 0 auto;
      color: #fff;
      padding: 18px 24px 0;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-radius: 10rpx;

      .card-top {
        font-size: 24px;
        font-weight: 400;
        color: #ffffff;
        line-height: 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .count {
          font-size: 38px;
          font-weight: 600;
          color: #ffffff;
          line-height: 42px;
        }

        .card-index {
          // width: 87px;
          padding: 0 10rpx;
          height: 28px;
          background: #f0deb7;
          border-radius: 14px;
          font-size: 20px;
          font-weight: 400;
          color: #885e24;
          line-height: 28px;
          text-align: center;
        }
      }
      .card-text {
        font-size: 18px;
        font-weight: 300;
        color: #ffffff;
        line-height: 22px;
        opacity: 0.5;
        margin-top: 17px;

        &.time {
          margin-top: 11px;
          margin-bottom: 20rpx;
        }
      }

      .card-id {
        font-size: 24rpx;
        color: #fff;
        opacity: 1;
      }

      .card-bottom {
        border-top: 2px solid rgba(255, 251, 244, 0.3);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 60px;

        Text {
          font-size: 24px;
          font-weight: 400;
          color: #ffffff;
        }
      }
    }
  }
}
